import http from '@/utils/http'

// 获取万人模考首页数据
export function getMockIndexDetail(params) {
  return http.get('/wxpub/examination/home_detail', params)
}
// 获取万人模考个人排行榜
export function getPersonRank(params) {
  return http.get('/wxpub/examination/user_exam_score', params)
}
// 获取万人模考前20排行榜
export function getAllRank(params) {
  return http.get('/wxpub/examination/rank_poster', params)
}
// 获取万人模考历史考试数据
export function getMockHistory(params) {
  return http.get('/wxpub/examination/history', params)
}
// 万人模考报名
export function signMock(params) {
  return http.post('/wxpub/examination/signup', params)
}
// 新用户课程激活状态
export function mockActive(params) {
  return http.post('/wxpub/api/activation', params)
}
// 预约万人模考推荐直播
export function liveSubscribe(params) {
  return http.get('/wxpub/api/live_subscribe', params)
}
